package com.wxzz.elearing.livetelecast.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.wxzz.elearning.common.bean.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "ActivityCategory对象", description = "活动分类")
public class ActivityCategory extends BaseEntity {

    @ApiModelProperty(value = "分类名称")
    private String categoryName;

    @ApiModelProperty(value = "从小到大排序")
    private Long sort;

    @ApiModelProperty(value = "父级id")
    private Long pid;

    @TableField(exist = false)
    @ApiModelProperty(value = "活动数量")
    private Integer activityNum;
}
